package com.roadjava.rbac.enums;

/**
 * 权限类型枚举

 */
public enum AuthorityTypeEnum {
    ROUTE_COMPONENT(0,"路由组件"),
    BUTTON(1,"按钮"),
    ;
    private final Integer code;
    private final String desc;
    AuthorityTypeEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public Integer getCode() {
        return code;
    }
}
